<div class="addInfBtn">
    <h3 class="itemTit"><span>用户信息</span></h3>
    <table class="addNewInfList">
        <tr>
            <th>名字</th>
            <td width="240">
                <input class="inp-list w-200 clear-mr f-left" type="text"
                       th:value="${user.name}" readonly="true"/>
            </td>
            <th>生日</th>
            <td width="240">
                <input onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"
                       type="text" class="inp-list w-200 clear-mr f-left"
                       th:value="${user.date} ? ${#dates.format(user.date,'yyyy-MM-dd HH:mm:ss')} :''"
                       readonly="true"/>
            </td>
        </tr>
        <tr>
            <th>账户</th>
            <td width="240">
                <input class="inp-list w-200 clear-mr f-left" type="text"
                       name="username" id="username" maxlength="32"
                       th:value="${user.username}" readonly="true"/>
            </td>
            <th>密码</th>
            <td width="240">
                <input class="inp-list w-200 clear-mr f-left" type="password"
                       name="password" id="password" maxlength="32"
                       th:value="${user.password}" readonly="true"/>
            </td>
        </tr>
        <tr>
            <th>部门</th>
            <td width="240">
                <div class="selectDownMode f-left w-206">
                    <input type="text" value="请选择"/>
                    <select class="selectMode" name="department"
                            id="department" readonly="true">
                        <option value="">请选择</option>
                        <option th:each="department:${user.department}"
                                th:value="${department.id}"
                                th:text="${department.name}"></option>
                    </select>
                </div>
            </td>

            <th>角色</th>
            <td width="240">
                <select name="roles" id="roles" multiple="multiple"
                        readonly="true">
                    <option th:each="role:${user.roles}"
                            th:text="${role.name}"
                            th:selected="true"></option>
                </select>
            </td>

        </tr>
    </table>
    <div class="bottomBtnBox">
        <a class="btn-93X38 backBtn" href="javascript:closeDialog(0)">返回</a>
    </div>
</div>